<?php

	class Member_registration_value extends Model
	{
		
		private $person;
		private $memberInfo;
		
		private $insertPerson;
		private $updatePerson;
		private $cmbRegistrationFee;
		private $bvRegistrationFee;
		private $langRegistrationFee;
		private $donation;
		private $cmbreghistoryid;
		private $currentyear;

		public function getPerson(){ return Person_value::cast($this->person); }
		public function setPerson( $value ){ $this->person = $value; }

		public function getWalkInfo(){ return Member_info_value::cast($this->memberInfo); }
		public function setWalkInfo( $value ){ $this->memberInfo = $value; }
		
		public function getInsertPerson(){ return $this->insertPerson; }
		public function setInsertPerson( $value ){ $this->insertPerson = $value; }

		public function getUpdatePerson(){ return $this->updatePerson; }
		public function setUpdatePerson( $value ){ $this->updatePerson = $value; }

		public function getCMBRegistrationFee(){ return $this->cmbRegistrationFee; }
		public function setCMBRegistrationFee( $value ){ $this->cmbRegistrationFee = $value; }

		public function getBVRegistrationFee(){ return $this->bvRegistrationFee; }
		public function setBVRegistrationFee( $value ){ $this->bvRegistrationFee = $value; }

		public function getLangRegistrationFee(){ return $this->langRegistrationFee; }
		public function setLangRegistrationFee( $value ){ $this->langRegistrationFee = $value; }

		public function getDonation(){ return $this->donation; }
		public function setDonation( $value ){ $this->donation = $value; }

		public function getCMBRegHistoryId(){ return $this->cmbreghistoryid; }
		public function setCMBRegHistoryId( $value ){ $this->cmbreghistoryid = $value; }

		public function getCurrentYear(){ return $this->currentyear; }
		public function setCurrentYear( $value ){ $this->currentyear = $value; }

		public function getTotalRegistrationFee()
		{
			return $this->getCMBRegistrationFee() + $this->getBVRegistrationFee() + $this->getLangRegistrationFee() + $this->getDonation();
		}

		
		public static function cast(Member_registration_value $object)
		{
        	return $object;
    	}
	}

?>